<?php echo $this->fetch('header.html'); ?>
<div class="main">
  <?php echo $this->fetch('header.common.html'); ?>
  <div class="layerbox_kuan">
  
  <a href="index.php?app=my_kdqujian&act=add" style="line-height:30px; color:#00F; display:block">马上预约取件+</a>
  <?php $_from = $this->_var['qujians']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'list');$this->_foreach['_goods_f'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['_goods_f']['total'] > 0):
    foreach ($_from AS $this->_var['list']):
        $this->_foreach['_goods_f']['iteration']++;
?>
  <div class="layerbox">
    <div class="layerbox-head">
    <ul>
      <li><?php if ($this->_var['list']['status'] == '0'): ?>未处理<?php elseif ($this->_var['list']['status'] == '1'): ?><font color="#009966">已完成</font><?php else: ?><font color="#999">已取消</font><?php endif; ?></li>
      <li style="font-size:12px; color:#666">预约时间：<?php echo local_date("Y-m-d",$this->_var['list']['yuyueTime']); ?></li>
      <li style="float:right"><?php if ($this->_var['list']['status'] == '0'): ?><a href="index.php?app=my_kdqujian&act=drop&id=<?php echo $this->_var['list']['qujian_id']; ?>" onclick="javascript:return confirm('删除后不可恢复，您确定要删除吗?');">删除</a><?php endif; ?></li>
    </ul><i></i></div>
    <div class="layerbox-text"><font>类别：</font><?php echo $this->_var['list']['cangku']; ?>&nbsp;&nbsp;<font>件数：</font><?php echo $this->_var['list']['qujianNumber']; ?>件<br />
    <font>姓名：</font><?php echo $this->_var['list']['lianxiren']; ?>&nbsp;&nbsp;<font>电话：</font><?php echo $this->_var['list']['mobilphone']; ?><br />
    <font>地址：</font><?php echo $this->_var['list']['address']; ?>
    </div>
  </div>
  <?php endforeach; else: ?>
  <div class="no_data">没有相关记录</div>
  <?php endif; unset($_from); ?><?php $this->pop_vars();; ?>
  <?php echo $this->fetch('page.bottom.html'); ?>
  </div>
<?php echo $this->fetch('footer.html'); ?>
</div>
</body>
</html>